#include "DevicesSoftTimer.h"
SoftTimerTypeDef g_SoftTimer = {0};

void soft_rimer_cb(void *pvHandle)
{
		reboot();
}


void delay_reboot(uint16_t sce){
	printf("%d seconds later, reboot\n",sce);
	printf("延时重启\n");
	cSoftTimerCreate(&g_SoftTimer, sce*1000000, softTimerOpen /*| softTimerCircular*/, soft_rimer_cb);

	
}